﻿<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<title></title> <#include "../../commonUse.html"/>
<link href="${ctx.contextPath}/pages/system/upload/css/commonCss.css"
	type="text/css" rel="stylesheet" />
	
<script src="${ctx.contextPath}/js/ckplayer/ckplayer.js" type="text/javascript"></script>
<script src="${ctx.contextPath}/js/ckplayer/offlights.js" type="text/javascript"></script>
</head>
<body>
	<!--ckplayer  mp4或flv播放视频开始-->

		<div id="videoshow"></div>

	<script type="text/javascript">
		//函数名称不允许更改 function ckmarqueeadv(){return '广告内容'};
		var flashvars = {
			f : '${ctx.contextPath}/js/ckplayer/demo.mp4',//视频素材地址
			c : 0,
			b : 1,
			my_url : 'https://www.baidu.com',//分享地址
			my_pic : ''//预览图片？
		};
		var params = {
			bgcolor : '#FFF',
			allowFullScreen : true,
			allowScriptAccess : 'always'
		};
		CKobject.embedSWF('${ctx.contextPath}/js/ckplayer/ckplayer.swf', 'videoshow',
				'ckplayer_a1', '100%', '550', flashvars, params);//550是高度的参数
		var box = new LightBox();
		function closelights() {//关灯
			box.Show();
		}
		function openlights() {//开灯
			box.Close();
		}
	</script>
	<!--ckplayer播放视频结束-->
	
    <!-- <embed height="270" width="100%" type="video/x-ms-wmv" src="${a.mediaPath}" console="cons" controls="ImageWindow" autostart="true"></embed>-->
 	

</body>
</html>